package com.dykj.fireFighting.server.socialUnit.videoGroup.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dykj.fireFighting.api.base.video.vo.VideoVo;
import com.dykj.fireFighting.api.socialUnit.videoGroup.entity.VideoGroup;
import com.dykj.fireFighting.api.socialUnit.videoGroup.vo.VideoGroupVo;
import com.dykj.fireFighting.common.core.mapper.SuperMapper;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @Description 摄像头分组管理
 * @Author JacksonTu
 * @Date  2022-02-28 14:25:03
 */
public interface VideoGroupMapper extends SuperMapper<VideoGroup> {


    IPage<VideoGroupVo> queryList(Page page, @Param("params") HashMap<String, Object> params);

    VideoGroupVo getIntoById(String id);

    void updateIsDel(@Param("ids") List<String> ids);

    List<VideoVo> getVideoByGroupUnit(@Param("params") HashMap<String, Object> params);
}
